package io.renren.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import io.renren.dto.ArticleListDto;
import io.renren.entity.Article;
import io.renren.entity.ArticleData;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 文章表
 * 
 * @author chenjiacheng
 * @email 
 * @date 2019-02-11 19:04:20
 */
@Mapper
public interface ArticleDao extends BaseMapper<Article> {

    List<ArticleListDto> queryArticleList( Page<ArticleListDto> page );

    List<ArticleListDto> queryArticleList( );

    ArticleData queryData(@Param("articleId") Integer articleId);
	
}
